package com.zhoudb.blog.mapper;

import com.zhoudb.blog.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Set;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author zhoudb
 * @since 2018-10-12
 */
public interface UserMapper extends BaseMapper<User> {

    Set<String> listRoles(String username);

    Set<String> listMenus(String username);

}
